﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApi_ProductText1.Domain.Entity
{
    /// <summary>
    /// 购物车模块
    /// </summary>
    public class ShoppingTrolley:BaseEntity
    {
        // 购物车
        // 用户名，商品编号，商品名称，商品价格，加入时间，商品数量
        // User name, item number, item name, item price, entry time, item quantity...
     
        // 用户名Id
        public int UserId { get; set; }
        // 商品编号
        public int ProductId { get; set; }
        // 商品数量
        public int ItemQuantity { get; set; }
        
        public User User { get; set; }
        public Product Product { get; set; }
       
    }
}
